/**
 * 日常考核-事件考核-结果查看
 */

import request from '@/router/axios'
// 考核对象确认
export function khdxConfirm(id) {
  return request({
    url: `/appr-event/rckhsjkhdx/resultConfirm/${id}`,
    method: 'get',
  })
}

// 查询  列表
export function eventExamineList(query,sszt) {
  return request({
    url: `/appr-event/rckhsjkhdx/getRckhSjkhdxResultConfirm`, //  /appr-event/rckhsjkhdx/psjgpage
    method: 'get',
    params: query
  })
}

// 事件评审某条数据详情查询
export function dataDetail(id) {
  return request({
    url: `/appr-event/rckhsjkhdx/${id}`,
    method: 'get',
  })
}

// 提交申诉
export function subSs(query){
  return request({
    url: '/appr-event/rckhsjkhdx/subSs',
    method: 'put',
    data: query
  })
}

// 强制确认
export function resultConfirmAll(ids) {
  return request({
    url: `/appr-event/rckhsjkhdx/resultConfirmAll/${ids}`,
    method: 'get',
  })
}

// 查询  列表
/*export function eventExamineList(query, type) {
  return request({
    url: `/appr-event/rckhsjkhdx/psjgpage`, // /appr-contract/zxgzgzcj/page/${type}
    method: 'get',
    params: query
  })
}*/


// 领导审批
// export function leaderAudition(ids, pass) {
//   return request({
//     url: `/appr-contract/zxgzpro/process/audit/${ids}/${pass}`,
//     method: 'put',
//   })
// }

//提交审核给谁
// export function showUserName(id) {
//   return request({
//     url: `/appr-contract/zxgzsptask/getNextTaskUser/${id}`,
//     method: 'get',
//   })
// }

